package com.itheima.reggie.common;

public class BaseContext {
    private static final ThreadLocal<Long> tl = new ThreadLocal<>();

    public static void setCurrentThread(Long id){
        tl.set(id);
    }

    public static Long getCurrentThread() {
        return tl.get();
    }
}
